package com.lvandroid.play.player;

import android.app.Activity;
import android.view.SurfaceHolder;
import android.view.View;

import com.lvandroid.play.bean.PlayItem;
import com.lvandroid.play.util.LogUtil;

import java.util.List;

public class AllRoundPlayer<T extends View, V extends PlayItem> extends AbsBasePlayer {

    protected OnPrepareListener mExternalListener;
    protected V mPlayItem;
    protected T mDisplay;
    protected boolean mAutoPlay = true;

    @Override
    public void playInternal() {

    }

    @Override
    public void setDataSource(String source) {

    }

    @Override
    public void start(String source) {
    }

    public void start(List<String> source, T display) {

    }

    @Override
    public void start() {
    }

    @Override
    public void prepare() {

    }

    @Override
    public void stop() {

    }

    @Override
    public void pause() {

    }

    @Override
    public void resume() {

    }

    @Override
    public void reset() {

    }

    @Override
    public void seek(long position) {

    }

    @Override
    public void loopPlay(boolean loop) {

    }

    @Override
    public void autoPlay(boolean auto) {

    }

    public void setDataSource(List<String> source) {

    }

    public void setDisplay(T v) {
    }

    public void setDisplay(SurfaceHolder sh) {
    }

    public void setPrepareListener(OnPrepareListener l) {

    }

    /**
     * 设置播放的条目
     */
    public void setPlayItem(V item) {
        mPlayItem = item;
    }

    public V getPlayItem() {
        return mPlayItem;
    }

    public void attachActivity(Activity a) {

    }

}
